package com.gupaowork.pattern.adapter;

import java.util.HashMap;
import java.util.Map;
/**
 * @Authoer heweicheng
 */
public class OldServiceImpl implements OldService {
    @Override
    //根据主键获取用户信息
    public Map<String,Object> getUserInfo(String Id) {
        HashMap<String,Object> userInfo = new HashMap<>();
        userInfo.put("id", Id);
        return userInfo;
    }
}
